﻿CREATE TABLE [dbo].[tbdetallesolicitud]
(
	[idetallesolicitud] INT NOT NULL PRIMARY KEY IDENTITY,
	[idsolicitud] int,
	[idvideopelicula] int,
	[estadootorgado] int
	constraint FK_detalleshasparents foreign key (idsolicitud) 
	references tbsolicitud(idsolicitud)
	constraint FK_videopeliculamustexists foreign key (idvideopelicula) 
	references tbvideopelicula(idvideopelicula)
)
